package com.sgb.kjwl.model.entity.transport;

import android.text.TextUtils;

/**
 * Describe:    竞价订单详情实体类
 * Author:  yangLei
 * Date:    2021/7/20
 */
public class BiddingOrderDetailsEntity {
    //车辆信息
    private String carInfo;
    //车长
    private String carLenName;
    //车牌号
    private String carNumber;
    //车型
    private String carTypeName;
    //承运人联系电话
    private String carrierNumber;
    //承运单位
    private String carrierUnit;
    //承运人
    private String carrierUser;
    //企业名称
    private String companyName;
    //下单时间
    private long createTime;
    //发货单位
    private String forwardingUnit;
    //运费单价
    private String freight;
    //运费单位
    private String freightUnit;
    //车辆功能
    private String functionNos;
    //货源no
    private String goodsSourceNo;
    //货物类型
    private String goodsTypeName;
    //货物体积
    private String goodsVolume;
    //货物重量
    private String goodsWeight;
    //装卸方式
    private String handleTypeName;
    //栏高
    private String heightHurdle;
    //网易云信账号
    private String imAccount;
    //	网易云信token
    private String imToken;
    //报价类型:1 企业 2 团队 3 个人
    private String offerType;
    //订单编号
    private String orderNo;
    //货源装卸地
    private OperateGoodsSourcePlaceVO place;
    //发货人
    private String shipper;
    //发货人联系方式
    private String shipperNumber;
    //订单状态 0待付款 1待确认 2待发车 3运输中 4已完成 5已取消
    private Integer status;
    //团队名称
    private String teamName;
    //车辆载重
    private String weight;
    //维度
    private double latitude;
    //经度
    private double longitude;
    //装卸方式标识字符串
    private String handleTypeNo;
    //实际下单 装车时间
    public Long shipmentTime;
    //实际下单 装车结束时间
    public Long shipmentEndTime;
    //装车开始时间点
    private int startPointTime;
    //装车结束时间点
    private int endPointTime;
    //货源 到货时间
    private int arrivalTime;
    //团队或单位的经营地址
    private String address;
    //发货单位头像
    private String headImg;
    //卸货地联系人
    private String receptionPeople;
    //卸货地联系电话
    private String receptionPhone;
    //2.1.0新增
    private Long inTime;//预计到场时间

    private String secondGoodsTypeName;//货物二级类型名称

    public String getReceptionPeople() {
        return receptionPeople;
    }

    public void setReceptionPeople(String receptionPeople) {
        this.receptionPeople = receptionPeople;
    }

    public String getReceptionPhone() {
        return receptionPhone;
    }

    public void setReceptionPhone(String receptionPhone) {
        this.receptionPhone = receptionPhone;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(int arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public int getStartPointTime() {
        return startPointTime;
    }

    public void setStartPointTime(int startPointTime) {
        this.startPointTime = startPointTime;
    }

    public int getEndPointTime() {
        return endPointTime;
    }

    public void setEndPointTime(int endPointTime) {
        this.endPointTime = endPointTime;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public Long getShipmentTime() {
        if (shipmentTime==null)
            return 0l;
        return shipmentTime;
    }

    public void setShipmentTime(Long shipmentTime) {
        this.shipmentTime = shipmentTime;
    }

    public Long getShipmentEndTime() {
        if (shipmentEndTime==null)
            return 0l;
        return shipmentEndTime;
    }

    public void setShipmentEndTime(Long shipmentEndTime) {
        this.shipmentEndTime = shipmentEndTime;
    }

    public String getCarInfo() {
        return carInfo;
    }

    public void setCarInfo(String carInfo) {
        this.carInfo = carInfo;
    }

    public String getCarLenName() {
        return carLenName;
    }

    public void setCarLenName(String carLenName) {
        this.carLenName = carLenName;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getCarTypeName() {
        return carTypeName;
    }

    public void setCarTypeName(String carTypeName) {
        this.carTypeName = carTypeName;
    }

    public String getCarrierNumber() {
        return carrierNumber;
    }

    public void setCarrierNumber(String carrierNumber) {
        this.carrierNumber = carrierNumber;
    }

    public String getCarrierUnit() {
        return carrierUnit;
    }

    public void setCarrierUnit(String carrierUnit) {
        this.carrierUnit = carrierUnit;
    }

    public String getCarrierUser() {
        return carrierUser;
    }

    public void setCarrierUser(String carrierUser) {
        this.carrierUser = carrierUser;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public void setCreateTime(int createTime) {
        this.createTime = createTime;
    }

    public String getForwardingUnit() {
        return forwardingUnit;
    }

    public void setForwardingUnit(String forwardingUnit) {
        this.forwardingUnit = forwardingUnit;
    }


    public String getFunctionNos() {
        return functionNos;
    }

    public void setFunctionNos(String functionNos) {
        this.functionNos = functionNos;
    }

    public String getGoodsSourceNo() {
        return goodsSourceNo;
    }

    public void setGoodsSourceNo(String goodsSourceNo) {
        this.goodsSourceNo = goodsSourceNo;
    }

    public String getGoodsTypeName() {
        return goodsTypeName;
    }

    public void setGoodsTypeName(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName;
    }

    public String getGoodsVolume() {
        return goodsVolume;
    }

    public void setGoodsVolume(String goodsVolume) {
        this.goodsVolume = goodsVolume;
    }

    public String getGoodsWeight() {
        return goodsWeight;
    }

    public void setGoodsWeight(String goodsWeight) {
        this.goodsWeight = goodsWeight;
    }

    public String getHandleTypeName() {
        return handleTypeName;
    }

    public void setHandleTypeName(String handleTypeName) {
        this.handleTypeName = handleTypeName;
    }

    public String getHandleTypeNo() {
        return handleTypeNo;
    }

    public void setHandleTypeNo(String handleTypeNo) {
        this.handleTypeNo = handleTypeNo;
    }

    public String getHeightHurdle() {
        return heightHurdle;
    }

    public void setHeightHurdle(String heightHurdle) {
        this.heightHurdle = heightHurdle;
    }

    public String getImAccount() {
        return imAccount;
    }

    public void setImAccount(String imAccount) {
        this.imAccount = imAccount;
    }

    public String getImToken() {
        return imToken;
    }

    public void setImToken(String imToken) {
        this.imToken = imToken;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getShipper() {
        return shipper;
    }

    public void setShipper(String shipper) {
        this.shipper = shipper;
    }

    public String getShipperNumber() {
        return shipperNumber;
    }

    public void setShipperNumber(String shipperNumber) {
        this.shipperNumber = shipperNumber;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public String getFreightUnit() {
        if (freightUnit == null) {
            return "元/吨";
        }
        if (TextUtils.isEmpty(freightUnit))
            return "";
        //1：元/趟，2：元/吨，3：元/方
        if (freightUnit.equals("1"))
            return "元/趟";
        if (freightUnit.equals("2"))
            return "元/吨";
        if (freightUnit.equals("3"))
            return "元/方";
        return "元/吨";
    }

    public void setFreightUnit(String freightUnit) {
        this.freightUnit = freightUnit;
    }

    public String getOfferType() {
        return offerType;
    }

    public void setOfferType(String offerType) {
        this.offerType = offerType;
    }

    public OperateGoodsSourcePlaceVO getPlace() {
        return place;
    }

    public void setPlace(OperateGoodsSourcePlaceVO place) {
        this.place = place;
    }

    public Long getInTime() {
        return inTime;
    }

    public void setInTime(Long inTime) {
        this.inTime = inTime;
    }

    public String getSecondGoodsTypeName() {
        return secondGoodsTypeName;
    }

    public void setSecondGoodsTypeName(String secondGoodsTypeName) {
        this.secondGoodsTypeName = secondGoodsTypeName;
    }
}
